package com.wms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "com.wms")
@MapperScan("com.wms.mapper")
@EnableScheduling //开启定时任务
@EnableTransactionManagement // 启用事务管理
public class MainStartup  {
    public static void main(String[] args) {
        SpringApplication.run(MainStartup.class,args);
    }
}

